package com.lightsh.mapdemo;

import android.graphics.Canvas;
import android.util.Log;
import android.view.MotionEvent;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapView;
import com.google.android.maps.Overlay;

public class MyNormalOverlay extends Overlay{

	private static final boolean DEBUG = true;
	private static final String TAG = "MyNormalOverlay";
	@Override
	public boolean draw(Canvas canvas, MapView mapView, boolean shadow,
			long when) {
		if(DEBUG){
			Log.d(TAG, "draw");
		}
		// TODO Auto-generated method stub
		return super.draw(canvas, mapView, shadow, when);
	}

	@Override
	public boolean onTap(GeoPoint p, MapView mapView) {
		// TODO Auto-generated method stub
		if(DEBUG){
			Log.d(TAG, "onTap");
		}
		return super.onTap(p, mapView);
	}

	@Override
	public boolean onTouchEvent(MotionEvent e, MapView mapView) {
		// TODO Auto-generated method stub
		if(DEBUG){
			Log.d(TAG, "onTouchEvent");
		}
		return super.onTouchEvent(e, mapView);
	}

}
